/    Sign up×
Community /Pin to ProfileBookmark

URL To bypass .htaccess

when typing a url into ‘Internet Explorer’ is there a way to type it in such a manner that you are are providing the username and password for .htaccess so that the login box does not appear?

for example if the url is:
http://www.testingwebsite.com/secure/accounts.htm

and .htaccess details
username=peterpan, password=2TyiL12P (encrypted – basic authentication)

Can you write a url including these details so authentication is not required?

many regards
————-

Russell

to post a comment
Full-stack Developer

5 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzFeb 26.2006 — Try this:
ftp://peterpan:2TyiL12P@http://www.testingwebsite.com/secure/accounts.htm
Copy linkTweet thisAlerts:
@russellkainauthorFeb 26.2006 — nah that didnt work.

i think its something your supposed to add to the end of the url but im not sure whether the password should be in its encrypted format or not ? ? ?
Copy linkTweet thisAlerts:
@KravvitzFeb 26.2006 — Oops. I meant this:
http://peterpan:[email protected]/secure/accounts.htm

If it doesn't work try using the unencrypted password. If that doesn't work, then you're stuck.
Copy linkTweet thisAlerts:
@David_HarrisonFeb 27.2006 — I would just like to check at this point, that's not a genuine username and password is it? If so I strongly recommend removing it immediately. If you want to represent a password, a string of *'s will do.
Copy linkTweet thisAlerts:
@ray326Feb 27.2006 — and .htaccess details

username=peterpan, password=2TyiL12P (encrypted - basic authentication)[/QUOTE]
You don't use the encrypted password. If your password is "wendy" then it will be.

http://peterpan:[email protected]/
×

Success!

Help @russellkain spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...