Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

auto fill with query_strings alternative


Rector

Question

I have a site with a membership area that requires a password.

It also runs in a kiosk where I want to bypass the password. Square space can't use query_strings as in:

https://www.mysite.com/member?password="xyz"

Is it possible to create a java script that could detect the kioskID when the page is loaded and bypass the password, or autofill the password?

Thanks for any help

Link to comment

3 answers to this question

Recommended Posts

  • 0
On 10/31/2019 at 5:25 PM, Rector said:

I have a site with a membership area that requires a password.

It also runs in a kiosk where I want to bypass the password. Square space can't use query_strings as in:

https://www.mysite.com/member?password="xyz"

Is it possible to create a java script that could detect the kioskID when the page is loaded and bypass the password, or autofill the password?

Thanks for any help

Did you ever have any luck with this? I know it's possible as loads of people use this method to show live demos for templates... 

Link to comment
  • 0
3 hours ago, Webswool said:

I know it's possible as loads of people use this method to show live demos for templates... 

That is because the server supports reading the password from the URL in these cases.

The server can choose not to use that information and this could be the case for member areas as a security issue.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
  • 0
19 hours ago, creedon said:

That is because the server supports reading the password from the URL in these cases.

The server can choose not to use that information and this could be the case for member areas as a security issue.

Oh I see @creedon! Thanks for the clarification - I knew I could set a JSON query to autofill a site-wide password but didn't realise it didn't apply for specific pages. Doh!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...