Web authentication service

Σε Εξέλιξη Αναρτήθηκε Jul 18, 2013 Πληρώθηκε κατά την παράδοση
Σε Εξέλιξη Πληρώθηκε κατά την παράδοση

I want to build a small authentication service that will rely on 3 tables:

users

publications

users_publications

to verify a login/passwd validity and to list the publications associated with a particular user. The tables should be in MySQL and the code in PHP.

The first part will be a small web-page to edit the data on the tables, giving access to the data on the 3 tables with columns:

users:

Id

Name

Login

Passwd

publications:

Id

Title

users_publications

User_id

Publication_Id

The editing web-page should list the fields Name/Passwd and a box (clicked or not) to allow one to associate a publication with a particular user. No credentials necessary for the access to this editing page - the access will be controlled by IP address. One should be able to edit the name/passwd and add or remove publications from the list, and then click on "Save" or "Quit".

Then onto the authentication API. I need 4 methods built: Login, Logout, GetPublicationIds and KeepAlive.

Authentication API

================================

1) Login

1. Request via POST of the parameters login and password;

2. The request should be answered only with status code 200 in case of sucess; Otherwise it should answer with any status error. (403, 401, 500, etc);

Answer in the case of success:

{result:"success",name="Visible Name of the User"}

================================

2) Logout

1. Request via GET;

2. The request should be answered only with status code 200 in case of sucess; Otherwise it should answer with any status error. (403, 401, 500, etc);

Answer in the case of success:

{result:"success"}

================================

3) GetPublicationIds

1. Request via GET;

2. The request should be answered only with status code 200 in case of sucess; Otherwise it should answer with any status error. (403, 401, 500, etc);

3. The answer should contain s list of the publications the user should have access;

4. If he does not have any books, should return an empty JSON array;

Example of an answer with a list of publications:

[

{publicationId:"XXXXXXXXXX"},

{publicationId:"XXXXXXXXXX"},

{publicationId:"XXXXXXXXXX"}

]

Example of answer when the user does not have access to any books:

[]

================================

4) KeepAlive

1. Request via GET;

2. Utilizada para manter a sessão ativa;

3. The request should be answered only with status code 200 in case of sucess; Otherwise it should answer with any status error. (403, 401, 500, etc);

Answer in the case of success:

{result:"success"}

Paulo Ney

MySQL PHP Αρχιτεκτονική Λογισμικού

Ταυτότητα Εργασίας: #4740439

Σχετικά με την εργασία

12 προτάσεις Απομακρυσμένη εργασία Ενεργό Jul 25, 2013

Ανατέθηκε στον:

maujcotechno

Hello check your inbox for bid....

$88 USD σε 3 μέρες
(1 Κριτική)
0.0

12 freelancers κάνουν προσφορές κατά μέσο όρο $175 για αυτή τη δουλειά

meet2amitvw

Let me work for you. see recent project for api and web-services. i am my self developer not any company or agency so you can directly communicate with me. see my recent work for the technical expertise along wit Περισσότερα

$228 USD σε 5 μέρες
(176 Αξιολογήσεις)
9.4
SevenStarInfo

Hi, Ready to start immediately. Kindly check PM.

$105 USD σε 3 μέρες
(60 Αξιολογήσεις)
7.2
mukhan88

interested

$226 USD σε 3 μέρες
(27 Αξιολογήσεις)
5.5
iclientprojects

Hi ,php expert here, had gone through the requirements, and understood what you need. I can help you get this done in your timeframe and budget. Best quality assured. please provide further details and Let me start the Περισσότερα

$189 USD σε 3 μέρες
(53 Αξιολογήσεις)
5.6
skysap

let me do this for you.

$257 USD σε 7 μέρες
(20 Αξιολογήσεις)
4.9
adnanselimovitz

I can start now.

$105 USD σε 1 μέρα
(11 Αξιολογήσεις)
4.7
kaleshwarchand83

Please see pm

$30 USD σε 1 μέρα
(43 Αξιολογήσεις)
4.5
mdrolc

Hi, I'm an experienced PHP developer as you can see in my portfolio. I can do this project for you quickly.

$155 USD σε 3 μέρες
(4 Αξιολογήσεις)
4.3
a2infotech

Hello Sir, I’m Expert in such type of task. I have 4+ Experience in PHP. I only believe in Quality Work. My goal is to complete job with in Timeframe. I have gone through the requirements. I assure you for expectation Περισσότερα

$222 USD σε 6 μέρες
(4 Αξιολογήσεις)
2.7
aaitvw

Hi, I am a UK professional and can do this for you. Please discuss further and advise what is your deadline? Thanks Adam

$250 USD σε 3 μέρες
(1 Κριτική)
2.4
shosilvadaniel

Good morning sir, Could you please check your inbox, on how we can build momentum to get this started.

$244 USD σε 3 μέρες
(0 Αξιολογήσεις)
0.0