473,805 Members | 1,905 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about secured website

Joe
Hi,

We want to build a couple of secured pages which will be viewable only to
those who have an account. One way of implementing the security is using
session cookies (temporary cookies). When a user logs in a session cookie is
created. When the browser window is closed the session cookie disappears.
This way when the browser is closed the session is over. So that even if one
tries to copy and past the URL of a secured page, they won’t be able to view
the page unless they log in.

Is there any other way of building a secured website that will work just
like I described above ( session should be over as soon as browser window is
close)?

Thanks,

Joe
Sep 20 '05 #1
2 1314
"Joe" <Jo*@discussion s.microsoft.com > wrote in message
news:F3******** *************** ***********@mic rosoft.com...
Hi,

We want to build a couple of secured pages which will be viewable only to
those who have an account. One way of implementing the security is using
session cookies (temporary cookies). When a user logs in a session cookie
is
created. When the browser window is closed the session cookie disappears.
This way when the browser is closed the session is over. So that even if
one
tries to copy and past the URL of a secured page, they won't be able to
view
the page unless they log in.

Is there any other way of building a secured website that will work just
like I described above ( session should be over as soon as browser window
is
close)?


You could just as well use Windows security with Basic or Windows Integrated
authentication in IIS. You would then lock down NTFS permissions on your
content files, giving Read access only to the appropriate users or groups.

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
Sep 20 '05 #2
Perhaps this may hopefully give you some ideas:

Classic ASP Design Tips - Login Page
http://www.bullschmidt.com/devtip-loginpage.asp

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

<<
We want to build a couple of secured pages which will be viewable only
to
those who have an account. One way of implementing the security is using
session cookies (temporary cookies). When a user logs in a session
cookie is
created. When the browser window is closed the session cookie
disappears.
This way when the browser is closed the session is over. So that even if
one
tries to copy and past the URL of a secured page, they won’t be able
to view
the page unless they log in.

Is there any other way of building a secured website that will work just
like I described above ( session should be over as soon as browser
window is
close)?

Thanks,

Joe


*** Sent via Developersdex http://www.developersdex.com ***
Sep 21 '05 #3

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

Similar topics

5
1880
by: Ed Jaffe | last post by:
All: 1) Could any one show me any website which is using asp, ssl, sql server? 2) Is ASP/IIS technology good enough to create a commerical secured internet web application? 3) People said most of the secured internet web application (e.g. banking...) is using java, is that true? Simon
2
3348
by: Amit D.Shinde | last post by:
Hello Experts.. I need some help regarding cookies and session objects and also global.asa file I am creating one cookie when a user logs in on my website. The cookie stores the login name of the user. I want that cookie should get deleted when user closes the browser without signing out. I think it is done in global.asa file . But i don;t know how to do it?
2
1137
by: VB Programmer | last post by:
I want to write a file to the "secured" dir that is on my website. The full path is: C:\inetpub\wwwroot\MyWebSite\Secured I tried this, but it didn't work: Dim strFileName As String = "Secured\MyFile.txt" Dim sw As New StreamWriter(strFileName) sw.WriteLine("Testing 1-2-3") sw.Close() Response.Redirect(strFileName)
1
901
by: Joe | last post by:
Hi, We want to build a couple of secured pages which will be viewable only to those who have an account. One way of implementing the security is using session cookies (temporary cookies). When a user logs in a session cookie is created. When the browser window is closed the session cookie disappears. This way when the browser is closed the session is over. So that even if one tries to copy and past the URL of a secured page, they...
2
1183
by: roy anderson | last post by:
Hey all, I'm not new to web development, but totally clueless regarding web security/logins and such. I have a website which requires users to login, checks their info against a SQL Server backend, then saves their login as a session variable. As they browse through the various pages of the site, each page checks to see if the Session variable exists/is not null, etc. If the check fails, the page redirects them to the login form. ...
1
1118
by: bobmct | last post by:
Gentlemen; I have a mental block here so I am hoping for some guidance and ideas/suggestions with this one? I have a php program that processes a form (credit card) on a secured site (SSL) and while communicating with the card processor in the background it output a "please wait blah blah" page also on the secured site. When the return from the card processor arrives based on the response either the original form is redisplayed...
1
2973
by: securedcardss | last post by:
http://card.2youtop.info secured credit card card credit instant secured card cash credit secured card
0
1069
by: chaitanya02 | last post by:
Hello all, I really find hard time with the below issue: 1. I have a tableA in SQL that has user id and pwd, which is used to login to the secured zone on a website. 2. I want to validate the pwd that i enter on the website with the one in the tableA, but the main concern here is that the pwd stored in SQL is saved in MD5 format. Are anyone aware of how to validate a pwd that we enter on form with the MD5 encoded one in the data base? ...
1
1378
by: Rob | last post by:
What is the best way to safely access a companies ERP data (SQL server) from a website that is hosted outside the firewall ?
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10366
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9185
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3845
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.