473,386 Members | 1,803 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,386 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 7714
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: 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:
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
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
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...

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.