Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Security Issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Security Issue

 Post Reply Post Reply
Author
hkading View Drop Down
Newbie
Newbie


Joined: 05 June 2003
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote hkading Quote  Post ReplyReply Direct Link To This Post Topic: Security Issue
    Posted: 05 June 2003 at 10:50pm

I have downloaded and successfully installed the SQL version of the discussion forum.

After the set up I deleted the msSQL_server_set.asp file per the security recommendation.  But, I am concerned that the SQL_server_connection.asp file is still online and has all the access information to the database in it.

I have list permission turned off, but I have been told that even a novice hacker can view files and their contents on MS servers.

Is this a legitimate security issue?  If so, is there anything that can be done about it?

Thanks.

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2003 at 3:01am

The file is needed for the forum to know what SQL server and database to use.

The file is an ASP file, this means that if the file is requested it is parsed by the ASP.DLL and only any script output is ent to the browser.

As there is no output from this file if someone calls the file in their browser they won't be able to see the contents of this file.

The only way someone can view the contenets of this file is to hack your FTP account and download the file using FTP.

So this is not a security problem.

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2003 at 9:18am
What you where referring to hk, was an old bug that got fixed. You used to be able to download a web with Frontpage as readonly and it gave you all the script content. Unless you are still using fp extensions version oldold on your server you should be fine.
Back to Top
hkading View Drop Down
Newbie
Newbie


Joined: 05 June 2003
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote hkading Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2003 at 11:52am

Thank you for your responses.

I still didn't feel comfortable just having the database information there and visible in the code, so, I added an include file which has encryption and decryption modules I wrote, and encrypted the database access variables.

So, the information is still there, but a hacker will have to get access to the SQL connection asp, plus the include file (albeit that file name is included in the SQL connection asp), and then write some code to decipher the information.

For those who may be interested (and I apologize if this is the wrong forum for this aspect of this topic) the modified code now looks like this:

%><!--#include file="functions/functions_other.asp" --><%

'Enter the details of your SQL server below
strSQLServerName = Decrypt("rrarrerrskqskqskqerrqrkrrkarknrrnrrerkrrrqrkrrkkrrnrknrrerkrkqekssrrrrks")
strSQLDBUserName = Decrypt("rrmrrnrrqknkknkknqkqsknnkqlkqsknpkqs")
strSQLDBPassword = Decrypt("kenkemknaknpkql")
strSQLDBName = Decrypt("rrqrprrrprrkrrrrrqrka")

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.