473,394 Members | 1,323 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,394 software developers and data experts.

Auto login URL with Perl

We have the Intranet web site which requires users to login to access. We also have the URL with password protection that will be placed under Intranet but I donít want users to login again to that URL.

So, I like that URL embedded with login name and password so that users can automatically login. For example, http://www.mydomain.com/test.pl?username&password? .

How can I do that?
Jun 30 '08 #1
4 7715
numberwhun
3,509 Expert Mod 2GB
I don't know about others, but to me, that doesn't sound like a good idea to do. That would open you up to a form of brute force attack via URL injection if you ask me.

If the user want to have his login/pwd saved, why not just let them do it via the browser, that way the security isn't in your hands for the protection of their ID.

Regards,

Jeff
Jun 30 '08 #2
Thanks for your suggestion.

On the other hand, there are many reasons that I donít like users having login to there by login name and password.

If you know how to do that auto login, kindly let me know.
Jun 30 '08 #3
numberwhun
3,509 Expert Mod 2GB
Thanks for your suggestion.

On the other hand, there are many reasons that I donít like users having login to there by login name and password.

If you know how to do that auto login, kindly let me know.
You say its an intranet site for the company you are working at. The first question that comes to mind is, do you have access to change the sites code? I would guess that that is the only way that you are going to get the site to support login as you have described. (via the login/password URL options that is).

If you had access, then it is (possibly) a matter of using Perl to parse the options out of the URL and doing the authentication. You also haven't mentioned how they are authenticating the users so I cannot say if its a possibility.

Regards,

Jeff
Jun 30 '08 #4
I like to explain about that in details.

Recently I installed Awstats web statistics software (it is in perl) for our company and it is done.

I like to place the URL for web stats in our intranet web site which is protected by login name and password and I don't like users to login again to URL for web stats.

Our intranet web site is CMS (using MS .Net Framework) and if necessary, I can ask the company which design the CMS.

For web stats software which is in perl, I have the control over the code. But, I don't have skill in perl language and am only IT person in my company.

In fact, I can protect the "cgi-bin" directory that "awstats.pl" exists by Windows File System permission so that there will be login when users browse the URL for web stats. Because of URL for web stats will be placed under intranet, I like users to access it without another login.

I also asked help from company which design the CMS, finally, they conclude that the current security module for intranet can not protect perl and said that we have to use perl to do so.

Thanks.
Jul 2 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: dschruth | last post by:
Hello. Can anybody solve this problem? I am using a server-side language (PERL) to *try* to POST data to a HTTPS login script that doesn't have a standard "submit" button. The form appears...
5
by: Navillus | last post by:
Hey gang, I have a login form that is empty by default, but can be filled with values from a previous form: <input type=text maxlength="40" size="40" name="user" value="`usr`"> <input...
0
by: thecoolone | last post by:
Im doing a project on Internet Banking. I have created a login page and im using forms authorization (done in web.config) and in the login page i have the following code ...
1
by: james2 | last post by:
I am trying to write a perl script that will do remote machine. I have done user loging using simple command; $telnet->login('test', 'test123'); But now I want to do root login or superuser...
3
by: focussys | last post by:
hi i am a student and am doing this for one of my assignments i am trying to create a login using perl and mysql database.i was succesful in doing that now i want to use cookies for...
0
by: sandy | last post by:
hello,,,,,,,,, i am creating login page using Perl/CGI facing prob... able to connect DB but from there facing prob If u have related code of login page in Perl please send me on...
2
by: bsmith | last post by:
Having a little problem with a project my boss gave me. We have a web based hosting site that we have multiple databases that the users can connect to. Right now we have it set up that they can...
4
by: Freedolen | last post by:
Hi All, I had a perl script which is used to login in a web page, but it gives the error as "301 Moved Permanently". What does this means and how can it be rectified? Can anyone help on this? ...
6
by: sherrygomindes | last post by:
Hi I have written a perl script using the Telnet module. I need to remotely login in from one windows XP machine to another XP machine. But i get errors which i can't figure out the reason....
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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
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
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
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...
0
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...

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.