Gener4tor
Gener4tor

Reputation: 388

How to store a password for a ftp user in MS Access?

My vba code in an MS Access database (which has access to a SQL Server) has - for reasons I have no control over - to control a ftpUser. So there is the need to use the ftpUsername and the corresponding password. For this I have to create a string like this: "ftp://do-main\thFtpUser:thesecretPwd/some/path/" and pass it to a internal web service.

How to store the password, so the person who works with the MS Access file (aka the user) has no access to the password of the ftp user? At least it should be as difficult as possible for the user to get the password.

Upvotes: 0

Views: 165

Answers (1)

smartdroid
smartdroid

Reputation: 311

You can make an MS Access executable file (accde) and distribute. That way your VBA code incl. ftp credentials will be (reasonably) hidden from (general) users.

Upvotes: 1

Related Questions