× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The Windows Registry is not just some file that you can simply access, via normal file system APIs.

> Chamara Withanachchi wrote:
Scott,

In that case can I access pc registry from rpg program? We have few issues with ssl and vpn.



Regards,

Chamara Withanachchi
IBM Certified Power System Expert
RPG Programmer (owner of www.rpgiv.info)
WWW.RPGIV.INFO
Mob: +971 50 5698644
Tel: +971 6 5595887
chamaraw@xxxxxxxxxx
www.rpgiv.info i want to be future ready. i want control. i want an i.


Sent from my BlackBerry® wireless device

-----Original Message-----
From: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>

Date: Mon, 15 Jun 2009 11:34:31 To: RPG programming on the IBM i / System i<rpg400-l@xxxxxxxxxxxx>
Subject: Re: Access pc file from RPG program


Chamara,

That would be extremely insecure. Any two year old could bypass that
"security" (just copy the .ini file to the home PC) Not only that, but it'd be a major nightmare to set up and administer, because you'd need to get file sharing or file transfer configured between the PC and the server -- and all of the necessary security for that.

If you want to control which IP addresses a user can sign on from, use a firewall or an exit program. If you want to authenticate their PC cryptographically, use a VPN or SSL client certificates.


Chamara Withanachchi wrote:
Actually my requirement is this, we have clients all over the world
and they are accessing our server to make transactions, some users
accessing our server from their home we want to stop this so we are
giving a exe file which has a validation with ip addresses and this
exe will plant a .ini file in C drive.

When users are login I want to check this .ini file is in C drive and
its content are correct.

Please note that All users are having fixed IPs and we have a
database of them. We need dual control that's is the man reason I'm
looking such method.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.