473,498 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Login script (save username and password somewhere)

Hello,

I need a login script with username and password.
After a good login the user may access some pages.
These pages must can read the username and the password.

I don't want to save the username and the password inside a database.
(I'm using these values to login-in inside a mailserver)

I also don't want to save it inside the querystring, because the users
password.

Where and how can I save the username and password?

Thanks!

Nov 18 '05 #1
2 2057
I suggest to save your username or password on the register of your windows or server. If you know how to do that, let you try.
Nov 18 '05 #2
Use Principal and Identity classes to authenticate users.
There is a standard class for this which you can modify to enhance it for
your needs.

It stores things like:
IsAuthenticated = True/False
IsInRole("some role") = True/False
Name = "some name"
--
Joe Fallon

"Arjen" <bo*****@hotmail.com> wrote in message
news:c5**********@news4.tilbu1.nb.home.nl...
Hello,

I need a login script with username and password.
After a good login the user may access some pages.
These pages must can read the username and the password.

I don't want to save the username and the password inside a database.
(I'm using these values to login-in inside a mailserver)

I also don't want to save it inside the querystring, because the users
password.

Where and how can I save the username and password?

Thanks!

Nov 18 '05 #3

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

Similar topics

2
377
by: Arjen | last post by:
Hello, I need a login script with username and password. After a good login the user may access some pages. These pages must can read the username and the password. I don't want to save the...
0
2374
by: kang jia | last post by:
hi i am currently learning Django framework and i have to do a login page at the moment. i have used the code like following: from django.contrib.auth import authenticate, login def...
0
1305
by: kang jia | last post by:
hi i have small problems occurred in my login function, which i use Django to build, in my template which is login.html, the code is like the following: <html> <head>...
9
7501
by: adweaver | last post by:
Hello All, I'm new to the world of php. I've just had a site designed for me by a company, and I'm now trying to manage and grow it, so it will suit my needs. The site was built in a folder...
0
7121
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,...
0
6993
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...
0
7162
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7197
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5456
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,...
0
4584
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...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1411
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 ...

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.