This is a discussion on "secure account details" within the Databases section. This forum, and the thread "secure account details are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
secure account details
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
secure account details
I've been developing with asp and access databases for a short while now, and am starting to work with clients who need to capture customer details such as username, password, email, address, phone etc.
I am not going to store credit card details. I have not put any particular security measures in place and I need to know whether my systems are adequately secure, particualrly with respect to legal requirements and the data protection act. The site is not on a secure server. My access database exists in a seperate folder from the web directory, but there is no encryption or password protection on the database, and none of the information that is passed to and from it in my asp scripts is encrypted. My clients will be able to access customer information (as will the clients themselves) via logins which comprise a username and password. The asp script compares unm/pwd info with info in the database and sets a session variable to login. Can anybody spot any gaping flaws in this system which will render my sites illegal or massively exposed? Can recommend any decent resources which won't involve me wading through masses of obscure legal or techy jargon? Thanks very much. So far I have consulted the following: http://www.webforumz.com/viewtopic.php?t=1701 http://www.webforumz.com/viewtopic.php?t=3721 http://www.developer.com/lang/other/article.php/724731 |
|
|
|
#2
|
|||
|
|||
|
You may want to look into "SQL Injection", it a method used by an attacker to insert extra SQL into your SQL by entering a certain string into your username and password boxes, for example:
' or ''=' enter the above into both the username and password box and see if it will log you in. One easy way to combat this is to replace single quotes with 2 single quotes:
|
|
#3
|
|||
|
|||
|
good one.
Thats a start...! Thanks Smokie. |
|
#4
|
|||
|
|||
|
Other than the SQL injection, as long as the folder the db is in isn't accessible to the public you're in pretty good shape. Maybe turn off detailed error messages, sometimes information shows up in an error that can help people get into places they should be in.
Security is always a balance of how much money/time it takes to improve it versus how important your data is. As you say there isn't CC info, so things like getting a SSL certification probably isn't neccessary. |
|
#5
|
|||
|
|||
|
You can (and should) store the password in the database already encrypted and not a raw text password. I believe asp has access to some encryption functions such as md5 and sha_256 or that scripts can be found to do the encryption for you quite easily.
|
|
#6
|
|||
|
|||
|
Great,
Thanks folks, this is all exactly what I wanted to hear. I shall look into these. Any other advice or opinions are always welcome. si. |
|
#7
|
||||
|
||||
|
I can prolly dig out some encryption scripts should you need them.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#8
|
|||
|
|||
|
That would be great Rob if it isn't too much hassle,
It would save me a lot of time searching the net. |
|
#9
|
||||
|
||||
|
Here is a function for creating a sha256 one way hash:-
http://pastebin.webforumz.com//view.php?id=26
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| secure, account, details |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WTB: Need Your HONEST and POSITIVE Hosting Reviews! Read For Details | HostingDeals | Hosting & Domains | 9 | Jan 15th, 2008 07:08 |
| secure connections | nightmares | E-Commerce and Business | 4 | Nov 26th, 2007 23:10 |
| Send form details to an email address...please help! | newbie44 | JavaScript Forum | 4 | Oct 2nd, 2005 08:45 |
| secure db | benbramz | Databases | 3 | Jun 1st, 2005 18:07 |
| How secure is MS Access??? | courtjester | Databases | 13 | Jan 29th, 2004 14:17 |