September 30, 200322 yr Is there a way to password protect my "menu page" (default.htm) via Filemaker? I'm using custom web publishing and the web publishing database. That protects the databases fine, but I'd like to lock the front door too. Thanks, Mark Durgee
September 30, 200322 yr Try using the "cdml_format_files" folder for your Format files. You can also have an FMP-If/InlineAction in each page to assist with page security. All the best. Garry
September 30, 200322 yr I am not sure what Mark need, but maybe the password protection should ask visitor for password immediately on default.htm page? That cannot be done AFAIK, only on Web server level. If you redirect in the META redirection the default.htm to FM generated page with some actions, which need password like -new, -edit browser will ask depending on your settings. For the same you can use Frameset as well. And Mark, to get full picture about FM security, search for "security loophole".
September 30, 200322 yr Author Thanks, Garry. Right now all the format files are in the "cdml_format_files" folder. But I have a "front page" to guide user to where they need to be and this is the one that I would like to be password protected. In other words I'd like the password prompt to appear as soon as the user hits my Filemaker website.
September 30, 200322 yr Anatoli has given one method. Another method would depend on the URL used to access the "default.html" page. You could use a CDML URL with "-findany", however no need for any CDML tags in the page. For example, http://myurl/FMPro?-db=anydb.fp5&-format=default.html&-findany Hope this helps. Garry p.s. Or is the "default.html" being accessed directly via a DNS?
September 30, 200322 yr Author >Or is the "default.html" being accessed directly via a DNS? < Yes. sales.myURL.com opens default.htm directly. I only have Filemaker Pro at the moment, I will have about 5 users for what I'm building now. But I may get Filemaker Unlimited as the system grows and I think I can use IIS as a web server instead and use NT authentication instead of Filemaker security. At least for any files sitting in the "web" folder.
September 30, 200322 yr OK. Use either a META Redirect, as Anatoli described, with a simple CDML URL (like the one I described). Or, use an "onload=Javascript:document.forms[0].submit()", in the <body> tag, with a Simple Form in the default.html page. Good Luck. Garry
September 30, 200322 yr RE: I can use IIS as a web server instead and use NT authentication instead of Filemaker security. At least for any files sitting in the "web" folder. I don't think so. NT will be fine for small number of users for files placed within wwwroot structure Maybe it will work, but I doubt that WC will be happy and the folder starts in Program Files and not the wwwroot.
Create an account or sign in to comment