Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Restrict Access to Page

LEGEND ,
Aug 22, 2006 Aug 22, 2006

Copy link to clipboard

Copied

Hi,

I'm using the Restrict Access to Page server behavior. If a user is not
logged and enters upload.php he should be redirected to ab_admin.php.
That works, but in the address field the url is displayed as:

http://localhost/aba03/miscel/ab_admin.php?accesscheck=%2Faba03%2Fmiscel%2Fupload.php

What about these "%2"-entities? I didn't change anything in the source code.

Regards
carl
TOPICS
Server side applications

Views

356
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 22, 2006 Aug 22, 2006

Copy link to clipboard

Copied

http://www.w3schools.com/tags/ref_urlencode.asp


"carl" <carl@nospam.net> wrote in message
news:ecf8n9$66$1@forums.macromedia.com...
> Hi,
>
> I'm using the Restrict Access to Page server behavior. If a user is not
> logged and enters upload.php he should be redirected to ab_admin.php. That
> works, but in the address field the url is displayed as:
>
> http://localhost/aba03/miscel/ab_admin.php?accesscheck=%2Faba03%2Fmiscel%2Fupload.php
>
> What about these "%2"-entities? I didn't change anything in the source
> code.
>
> Regards
> carl


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 22, 2006 Aug 22, 2006

Copy link to clipboard

Copied

crash schrieb:
> http://www.w3schools.com/tags/ref_urlencode.asp
>

Thank you - "%2f" means a slash. But why does D8 input these slashes (I
didn't), where do they come from?

Carl

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 22, 2006 Aug 22, 2006

Copy link to clipboard

Copied

It didn't - your server did. What it's doing is creating a string variable
to feed to your login page to tell the login page (which is located at
whatever/login.php) where to redirect your browser to after it's logged in.

I see I have it as well. I don't know if it raises any valid security
concerns or not, but I would sure rather have it hidden...

Jon

"carl" <carl@nospam.net> wrote in message
news:ecfch0$4nr$1@forums.macromedia.com...
> crash schrieb:
>> http://www.w3schools.com/tags/ref_urlencode.asp
>>
>
> Thank you - "%2f" means a slash. But why does D8 input these slashes (I
> didn't), where do they come from?
>
> Carl


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 22, 2006 Aug 22, 2006

Copy link to clipboard

Copied

Hi Jon,

wow - I'm not the only one with that code (that's somehow satisfying).
Perhaps someone could tell us what's going on.
Thank you for the response.

Carl


crash wrote:
> It didn't - your server did. What it's doing is creating a string variable
> to feed to your login page to tell the login page (which is located at
> whatever/login.php) where to redirect your browser to after it's logged in.
>
> I see I have it as well. I don't know if it raises any valid security
> concerns or not, but I would sure rather have it hidden...

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

🙂 I can tell you what's going on. Just not why it's setting it as it as
instead of a session variable or something.

i didn't find anything while looking at this yesterday that said it would
cause a problem- the only thing I found was a reference to Opera having a
vulnerability in regards to the %2f as it relates to domain spoofing.

Looking like everything should be fine, just not pretty. I'll post back if
I find contrary information.

HTH,

Jon
"carl" <carl@nospam.net> wrote in message
news:ecfquq$maa$1@forums.macromedia.com...
> Hi Jon,
>
> wow - I'm not the only one with that code (that's somehow satisfying).
> Perhaps someone could tell us what's going on.
> Thank you for the response.
>
> Carl
>
>
> crash wrote:
>> It didn't - your server did. What it's doing is creating a string
>> variable to feed to your login page to tell the login page (which is
>> located at whatever/login.php) where to redirect your browser to after
>> it's logged in.
>>
>> I see I have it as well. I don't know if it raises any valid security
>> concerns or not, but I would sure rather have it hidden...


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

Thank you, Jon !!

Carl

crash wrote:
> 🙂 I can tell you what's going on. Just not why it's setting it as it as
> instead of a session variable or something.
>
> i didn't find anything while looking at this yesterday that said it would
> cause a problem- the only thing I found was a reference to Opera having a
> vulnerability in regards to the %2f as it relates to domain spoofing.
>
> Looking like everything should be fine, just not pretty. I'll post back if
> I find contrary information.
>

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

LATEST
no worries mate. let me know as well if you find anything nasty about this,
or an easy solution.

the only thing I can think of, is *perhaps* you could spoof a page that had
a different clearance level with an url spoof and try to get into higher
level pages than your username typically allows you.

i'll check on that today at some point.

"carl" <carl@nospam.net> wrote in message
news:echnoa$196$1@forums.macromedia.com...
> Thank you, Jon !!
>
> Carl
>
> crash wrote:
>> 🙂 I can tell you what's going on. Just not why it's setting it as it as
>> instead of a session variable or something.
>>
>> i didn't find anything while looking at this yesterday that said it would
>> cause a problem- the only thing I found was a reference to Opera having a
>> vulnerability in regards to the %2f as it relates to domain spoofing.
>>
>> Looking like everything should be fine, just not pretty. I'll post back
>> if I find contrary information.
>>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines