Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for user permission on the network drive.
Message
From
24/10/1997 19:23:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00055552
Message ID:
00056646
Views:
39
>>>I use a couple of fields in the users tables and do a check sum on the 2 >-- see sys(2007) in VFP help. Then do a comparison within my code to make >sure the fields have not been tampered with. If tampering detected, I >terminate the application and have the app send me a Netware message. >> >>thanks Mark - I will check it out... :) > >Sounds like a good idea...I would still run the sys(2007) return value >through a formula so it wouldn't be easy to crack for someone with the >checksum formula, or someone with FoxPro who is aware of the sys(2007) >function.... I don't see the need for reverting the checksum into original value - simply run the formula on the user's input and compare that with what's in the table, so the original value never gets written or reconstructed anywhere, as is the normal procedure with passwords and similar stuff. Another neat trick is that you don't run sys(2007) on bare user's string, but add your string before it, possibly scrambled like chr(pi()**2.89714)+prog(1) (so it doesn't appear as a constant nowhere in your code), or something equally obscure.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform