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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Concerns about putting connection strings in an Include file (.inc)

Status
Not open for further replies.

Rexolio

Technical User
Aug 29, 2001
230
Hi, recently in an effort to start cleaning up my scripting (I'm pretty sloppy) and to reduce redundancy, I began putting database connection strings in an include file for all of my ASP.

I've been doing this for a while now, but then it occurred to me the other day that anyone could view the source code of my page, add the .inc file onto the end of the web address in their browser and then view the connection string right there in their browser!

Does anyone else do this? What are the potential problems? Is it a problem? Any input would be great!

Thanks,
Rexolio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top