Comments (8)
Hi. I haven't been working on the api for quiet a while now. I dont really have a usecase for it anymore personally, but if there is interest I could think about it.
from leya.
I thinks there is definitely a usege for youre code :)
Mostly for little Programms who want to add a database connection to their Script.
But i read, that the improv3d api (this api's basic) was very unsave and easy to hack...
from leya.
This is the improv3d api, I just renamed it.
I wouldn't say that it's unsafe to use or easy to hack. You can add authentication-keys to the config, which limits access to users with a key. You can add as many keys as you want (eg. one per user).
You can also adjust access to the api functions on a global level and override them with key specific ones (kind of like roles... user, admin, etc.)
More about this here https://github.com/kevgk/Leya/wiki/Authentication-Keys
So if you just want to read from the db for example, only allow read.
from leya.
But isn't it unsafe, that the file with the config of the Database lays in clear-text onto the server ? or do I have the wrong understanding of this ? :)
from leya.
The config file is a php file, php parses it and makes the variables accessable to the api, but never outputs its content.
Let's say you try to open the config.php with your browser, you'll see nothing. The config.php executed, but it didn't output anything.
from leya.
ah okey. thats perfect :) I've worked like 5 Years ago with the API. But I can't remember the commands, if it's with " or without and so on. If you have the wiki file or something like this it would be enought for me and I could work again with the API :)
from leya.
In the readme you have every command listed with its parameters. https://github.com/kevgk/Leya
And for a very few commands I created a wiki, which is far from finished. https://github.com/kevgk/Leya/wiki/leya.get
from leya.
I guess your questions have been answered, so I'm closing the issue. If you have more questions, feel free to open a new issue.
from leya.
Related Issues (17)
- Installer gute/schlechte Idee? HOT 9
- imp_count Problem
- Error mit leya.get HOT 9
- leya.get Result Abfrage HOT 1
- getwhere (Value) nur mit Zahlen ? HOT 7
- Schreibweise von CreateTable HOT 2
- leya.countrows Fehler beim auslesen ? HOT 3
- Readout fehlermeldung bei Zugriff auf Tabelle HOT 4
- listRows keine Rückmeldung im Debug HOT 1
- RowExistUser Problem beim Auslesen HOT 2
- Fehler Auslesen MYSQL HOT 2
- Frage zu "getwhere" HOT 2
- leya.Mail mit Leerzeile HOT 3
- andere Spalte als Index auslesen?
- Update hash Algorithmus HOT 1
- GetWhere mit einem Eintrag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leya.