Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IS stored my password in a secure folder. now what?

Status
Not open for further replies.

Jim54729

Programmer
Jan 9, 2017
2
US
I am a web developer, beginner programmer at work. The one website that I work on is on a server that has 200 other folders on it, which I have no access too. I requested a process ID so can allow users to retrieve data by filling out a form for view only.
Problem.... I have a connection string that needs a password and user ID. I/S put the password and user ID on the server that I use and in the D: folder. I do not see a D: folder, (must be hidden).

How do I get use of the credentials?

My thoughts so far:

If I/S had it set up as a function, I could use getters to retrieve the data, and assign it to my password variable and pass in the variable to my connection string.

I tried using "aqFileSystem.GetFolder("D:\credentials\")" 'path not found
I tried putting the server in front of the D: "aqFileSystem.GetFolder("server\D:\credentials\")"

can anyone give my the high level starting place for me to use the hidden password?
 
Well, assuming you have credentials to access the "D:\credentials" folder on the server (which you may not have), a UNC path like this would work in theory:
aqFileSystem.GetFolder("\\server\d$\credentials")

Better would be for them to share out the folder and give you appropriate permissions to the folder. Then it would be:
aqFileSystem.GetFolder("\\server\sharename")
 
Thanks Guitarzan, I will try that. I will post my results once fixed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top