LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Simple web browser for Linux (without menu and icons) ? (https://www.linuxquestions.org/questions/linux-desktop-74/simple-web-browser-for-linux-without-menu-and-icons-4175462276/)

giovanni4000 05-21-2013 01:25 AM

Quote:

Originally Posted by evo2 (Post 4955458)
Hi,

IMHO, back, refresh etc should be blocked by the application. In this case in the php code at the server. If only certain individuals should be able to use the site then you should use https and user authentication.

AFAICT trying to lock down the client (ie the software on the users machine) is doomed to failure. The user has control over their own machine. Anyway this is getting into areas where I have little expertise. I hope you find a solution.

Evo2.

Hi Evo2,

Thank you for you tips. You are right, I will search on how to blocked back,refresh etc ... at server side by application. A friend told me to use Javascript to hide all these buttons, but it's also run at client side - also useless ...

Thanks again ....
Gio

giovanni4000 05-21-2013 10:33 AM

Quote:

Originally Posted by giovanni4000 (Post 4955462)
Hi Evo2,

Thank you for you tips. You are right, I will search on how to blocked back,refresh etc ... at server side by application. A friend told me to use Javascript to hide all these buttons, but it's also run at client side - also useless ...

Thanks again ....
Gio

It is impossible to block the browser with php (server side), it must be done at client side (like javascript).
Hm ... must looking for another solution ...

Thanks anyway
Gio

evo2 05-21-2013 08:49 PM

Hi,
Quote:

Originally Posted by giovanni4000 (Post 4955805)
It is impossible to block the browser with php (server side)

If the client is logged into a session, then the php code can refuse to send/resend a page. This will block "back", "reload", "forward", whatever. Sounds like someone has either been lying to you, or doesn't fully understand what they are doing.

Evo2.

giovanni4000 05-21-2013 11:12 PM

Quote:

Originally Posted by evo2 (Post 4956166)
Hi,

If the client is logged into a session, then the php code can refuse to send/resend a page. This will block "back", "reload", "forward", whatever. Sounds like someone has either been lying to you, or doesn't fully understand what they are doing.

Evo2.

Hi evo2,

thank you very much. So, it's possible to do it in php. I will try to implement it.
Btw, I found this, i think it is also interesting : http://samy.pl/evercookie/
To identify the client, we put "forever" cookies, which is not removed even after restarting the client browser ;)
Combining both (client side & server side) i think will be the best solution ... i hope ... ;)

Best Regards,
Gio


All times are GMT -5. The time now is 09:33 AM.