[web2py] Re: how to limit who can see the webpage

2020-07-10 Thread Dave S
On Friday, July 10, 2020 at 10:20:56 AM UTC-7, Elif Guduk wrote: > > Hi all, > My manager asked me to limit the web page accessibility for random people > how to do this. > For example my app name KnowledgeBase and anyone can access iff they type > https://companyname.com/KnowledgeBase gives

[web2py] how to limit who can see the webpage

2020-07-10 Thread Elif Guduk
Hi all, My manager asked me to limit the web page accessibility for random people how to do this. For example my app name KnowledgeBase and anyone can access iff they type https://companyname.com/KnowledgeBase gives anyone to access it by typing this link, but we want to limit our app for only

Re: [web2py] Setting options in IS_IN_SET() as links to pages with more links

2020-07-10 Thread mostwanted
Great stuff @ AGRogers On Friday, July 10, 2020 at 8:04:41 AM UTC+2, AGRogers wrote: > > I solved the challenge of having too many options by using the > multiselect option recommended in the book. > http://web2py.com/books/default/chapter/29/07#IS_IN_SET-and-Tagging ( > http://loudev.com/) >

[web2py] Re: Security Issue??????

2020-07-10 Thread Jose C
In addition to the other replies, you can also set the headers easily yourself in web2py (although depending on your own web server settings, some may be overwritten). For example, in a model (say): response.headers['Strict-Transport-Security'] = 'max-age=63072000; includeSubDomains; preload'

Re: [web2py] Setting options in IS_IN_SET() as links to pages with more links

2020-07-10 Thread AGRogers
I solved the challenge of having too many options by using the multiselect option recommended in the book. http://web2py.com/books/default/chapter/29/07#IS_IN_SET-and-Tagging ( http://loudev.com/) "We strongly suggest using the jQuery multiselect plugin to render multiple fields." It's designed