WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: misterdj on September 08, 2021, 01:31:48 PM

Title: Acces page with name and pass in url
Post by: misterdj on September 08, 2021, 01:31:48 PM
Hey,
I have a question, hope I'm posting in the right thread. Is it possible to access a page within WebsiteBaker that you need to access with a valid account but that it is callable via a URL, say pages/indoor.php is the page we want to reach but call directly with url /pages/indoor.php?account=james,password=watt? or something? is that possible and if so, what would a url look like? thanks in advance! compliments to the makers, I have been working with WebsiteBaker for years with satisfaction
Title: Re: Acces page with name and pass in url
Post by: hgs on September 08, 2021, 02:11:12 PM
So wie du es machen willst, macht es m.E. keinen Sinn.
Der WBLink zu dieser Seite ist ohne Passwort zu erreichen, dann einfach die Seite ohne Anmeldung zulassen und alles ist gut.
Den WBLink kannst du setzten, der USER wird dann nach seinen Zugangsdaten gefragt, wenn diese Seite nur von einer bestimmten Benutzergruppe zu sehen sein soll.
Translate with DeepL.com
The way you want to do it, I don't think it makes sense.
The WBLink to this page can be reached without password, then just allow the page without login and everything is fine.
You can set the WBLink, the USER will then be asked for his access data, if this page should only be seen by a certain user group.
Title: Re: Acces page with name and pass in url
Post by: misterdj on September 08, 2021, 02:58:56 PM
Thank you for answer. It is more intended for an application, that if one enters their name and password in this application and clicks on a certain button, a window will be opened that gives direct access to the page that runs behind WebsiteBaker. This account is known within WebsiteBaker and it might have been possible to call the page directly from the application via an url string without logging in again. But thanks, I'll see if there's another way
Title: Re: Acces page with name and pass in url
Post by: crnogorac081 on September 08, 2021, 04:52:40 PM
You must make a custom module for this. Also notr that sending a password via URL is not a good idea. Maybe s token or something but not a raw password