Feng Forum

Other Topics => Development => Security => : shodgman April 26, 2011, 07:23:39 PM

: How do I prevent direct access to my added Tab index.php?
: shodgman April 26, 2011, 07:23:39 PM
I have added a couple of Tabs to my FengOffice thanks to the contributions of information by people here.
One is the Gantt Chart http://forums.fengoffice.com/index.php?topic=3826.0 (http://forums.fengoffice.com/index.php?topic=3826.0) contribution courtesy of Allen Look.

However, pointing a browser at my Gantt Index Page will open the page without authenticating with FengOffice.

How can I insert PHP code to prevent this?
Currently I have had to resort to .htaccess security (Basic Auth) but this requires FengOffice users to go through this as well.

Can anyone please point me at something similar in the code that would suggest how I can restrict access?
Thanks for the help,
---
Steve
: Re: How do I prevent direct access to my added Tab index.php?
: franponce87 May 09, 2011, 12:08:08 PM
You should ask the contributors of such feature since they are more aware on how it works, but you may also consider using SSL (and therefore https) with your Feng Office installation.

Best regards,
Francisco