473,383 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

ASP.NET Security and Webpages

I would like to start blocking some people from visiting certian pages of my website. I looked at all of the forms authentication pages and that seems extremly confusing. I was thinking about just hashing(?) the password asn storing them in an SQL database. Then on the pages that I want, using a sessions varible to verify that they are authenticated, I will allow access.

Anyone have any suggestions? Will this work and if so, how do you hash(?) passwords? Any good links? If it won't work, does anyone have any good links to articles about how to write authentication code.

Thanks

Devin
Nov 18 '05 #1
2 865
Look at Forms Authentication again, start small. Of course new concepts are going to be confusing at first, but that certainly doesn't mean you should avoid it, you'll never be a good programmer if you never learn!. Don't settle for your own way of doing it just because you feel comfortable doing it that way, You are bound to introduce more holes in your system doing it that way than to work with a tried and true technology.

"Devin" <De***@discussions.microsoft.com> wrote in message news:4F**********************************@microsof t.com...
I would like to start blocking some people from visiting certian pages of my website. I looked at all of the forms authentication pages and that seems extremly confusing. I was thinking about just hashing(?) the password asn storing them in an SQL database. Then on the pages that I want, using a sessions varible to verify that they are authenticated, I will allow access.

Anyone have any suggestions? Will this work and if so, how do you hash(?) passwords? Any good links? If it won't work, does anyone have any good links to articles about how to write authentication code.

Thanks

Devin

Nov 18 '05 #2
GSK
I agree with Raterus.

Here is an excellent article on salting hashes:
http://www.dotnetjunkies.com/Tutoria...28327FF14.dcik

- gsk.
http://www.meblogic.com

"Devin" <De***@discussions.microsoft.com> wrote in message
news:4F**********************************@microsof t.com...
I would like to start blocking some people from visiting certian pages of my website. I looked at all of the forms authentication pages and that seems
extremly confusing. I was thinking about just hashing(?) the password asn
storing them in an SQL database. Then on the pages that I want, using a
sessions varible to verify that they are authenticated, I will allow access.
Anyone have any suggestions? Will this work and if so, how do you hash(?) passwords? Any good links? If it won't work, does anyone have any good links
to articles about how to write authentication code.
Thanks

Devin

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Jonathan Lamothe | last post by:
I'm helping someone to create an online database. All is fine and good except for one problem. Here it is: In order to provide connectivity to the database, I've created a file called...
10
by: SmartBloke | last post by:
Why is it advisable to place scripts which contain details of your login and password outside of the publicly accessible web area on your server. Surely if the files that contain the details are...
1
by: Devin | last post by:
I am interested in starting to get some security on my webpages. I was thinking that I should just hash? passwords and store them in an SQL table. Then on pages where I would like security, write a...
3
by: Yul | last post by:
Hi, We are in the process of designing an ASP.NET app, where a user will enter some 'Customer ID' to be queried in the database. If the ID is valid, several stored procedures will be called to...
2
by: gundam.f0rtre55 | last post by:
Hi everybody, for a new release of our J2EE Webapplication, our customer wish to allow the usage of bookmarklets. The application must be able to register URLs with several protocol types, one of...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.