Author Topic: Where to store data/settings  (Read 14400 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Where to store data/settings
« on: September 18, 2014, 05:20:58 PM »
Where do i should put the data or the settings of my module.

Because the module uses external user autentication, i need to allow user to store the credentials.
A cool site is database, but i dont figure out on what table do i need to store.

Do i need to create a new table?
Can i use settings table?

Regards.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Offline
*
Re: Where to store data/settings
« Reply #1 on: September 19, 2014, 01:18:17 PM »
what kind of settings/date you need to store ?
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
***
Re: Where to store data/settings
« Reply #2 on: October 05, 2014, 05:15:05 PM »
Basically the freedns manager credentials to avoid ask everytime.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Offline
*
Re: Where to store data/settings
« Reply #3 on: October 05, 2014, 10:20:12 PM »
freedns is NOT part of the CWP installation, this are standalone DNS servers.
http://freedns.centos-webpanel.com
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
***
Re: Where to store data/settings
« Reply #4 on: October 06, 2014, 05:40:50 AM »
Im sorry.

Im the guy building freedns connector PLUGIN between cwp and freedns.
The idea is to auto-sync custom dns entries from local "named" to the freedns system, commit them.

I think deeply on that, im sure the database is the safest way to store such credentials. Don't?

Even if freedns is not part of, is a perfect pair for CWP on single IP hostings, also a good service even if you can run your own dns.

Regards.

EDITED: I've deciced to put it on database, also editable.
« Last Edit: October 15, 2014, 05:43:56 AM by erm3nda »
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.