Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Security of PHP data

Featured Replies

Hey y'all,

 

I've a got a relativey simple database working online with API for PHP. I have a connection file, which creates the FileMaker object, fairly basic stuff - but the problem is the username and password are embbeded in this file.

 

I would like to query the database from another server, I can use cURL to post on the username and password from the other server to the FM Server, but its not very secure.

 

Does anyone have any pointers how I can achieve passing credentials from another machine to the FileMaker server without compromising security. I'm trying to use FileMakers API for PHP without the use of plugins if possible. I was considering SOAP but not sure thats the right route to go as its not native, I have to start using plugins. Wish FileMaker had this integrated in their standard software.

 

Thanks as always  

What's the issue with having the password in the connection file? No one without access directly to the server at OS level can see the contents of that file...

 

I've got an example - tell me what the user name and password to my database is, knowing the information is held in the file:

 

http://webko.id.au/include/db_config_test.php

  • Author

Hi Webko,

 

I can't, thanks for proving the point. Makes me a little more confident of what I'm doing.

If your web server is not the same computer as your FileMaker server, you should consider using SSL on that connection.

 

Also, make sure to use appropriate file permissions on the configuration file. If your web server is a shared server, for example, make sure no other users have read access to that file.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.