Print Page | Close Window

Linking to a DSNs?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3351
Printed Date: 01 April 2026 at 2:41pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Linking to a DSNs?
Posted By: balearicjobs
Subject: Linking to a DSNs?
Date Posted: 07 June 2003 at 11:46am

Could somebody please give me advice of linking to a DSNs.  My host has created one for me so that I can link to my database without the risk of it been downloaded by a hacker

Thanks a million!




Replies:
Posted By: WebWiz-Bruce
Date Posted: 07 June 2003 at 1:03pm

DSN connections to databases are much slower then a DSN-less connection.

What you are better doing is following the documentation that comes with the forum on moving the database from hackers and editing the common.asp files placing in the path to the new location of the database on the server.

This then means that you will not require the slower DSN connection, but your database will still be safe from hackers.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: balearicjobs
Date Posted: 07 June 2003 at 4:00pm

Fair comment.. I'll follow that then!

Cheers for your help once more.



Posted By: bmd2k1
Date Posted: 10 June 2003 at 9:29pm

what happens if the host doesn't support DSN-less connections...and requires me to use a DSN ?

 

 

-Brian

 



Posted By: WebWiz-Bruce
Date Posted: 11 June 2003 at 3:00am
Hosts can't prevent DSN-less connections unless they don't support databases at all.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: bmd2k1
Date Posted: 11 June 2003 at 7:01am

follow-up question then....

if the .MDB is moved to a directory above the web root directory..as recommended....  how do you refer to it in the .asp code that needs to be modified ?  (since it's no longer in a directory below where the common.asp file lives).

Thanks...

-Brian

 



Posted By: WebWiz-Bruce
Date Posted: 11 June 2003 at 7:38am
To go up a diretory use ../

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net