unique user identification for a website [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm developing a website to find out the best politician of my state.In my website visitors can vote for their favorite politician.
I want to restrict the users adding more than one vote to a politician and also wants to restrict a user vote for more than one politician (A user can give one vote to any one politician).
How can I trace unique users? I'm not interested in adding a registration/logon method which will reduce the user interaction. I tried to trace unique IP address, but website can be accessed through proxy servers and that method will not work.
Is there any way to trace users?

For this task, you have to user registration/login functionality. Otherwise, you will get incorrect data.
My suggested workflow:
User registers on site with his email id.
Confirmation mail goes to user.
User clicks on confirm link and proves that he is genuine.
After that he votes.
His vote gets recorded against his email id.

Related

Can I share access to a website without sharing my credentials? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 days ago.
Improve this question
I have an account in a website, i want to share it with others without giving them the credentials.
What I tried so far:
I built a chrome extension that connects to my server get the credentials then fill the login form and connect to the website, but that's just like giving them the password.
Using a PHP Web scraper library, I can open the website in my server log in and send back the HTML to the user, when the user clicks on an element in the page I can collect its css selector and send it to the server then the scraper can find and click on that element then send back the result HTML, this will work but it'll never be the same as the real website experience.
Are there any other approaches I should consider?

Determine who clicked a link in an email [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
So my company wants to do a small experiment and generate an email that'll be sent to about 50 workers. The email will include a link to a website (stored on our local server) and I need to be able to determine exactly who clicked the link (I have a list of all email addresses) and add the email address of the "victim" to another list. I think there's a way to do that with Node.js and Express but I'm not sure exactly how to track those clicks. Any ideas?
I'm aware that a script like that should come before the user enters the actual website and I can deal with most HTML, CSS and JS programming myself.
Thanks a bunch!
...and I need to be able to determine exactly who clicked the link...
It depends.
If you have some form of single-sign-on implemented across your intranet, then you can at least know what user account was signed in when they followed the link (which doesn't guarantee you what user it was, but people really shouldn't leave their workstations unattended and unlocked), assuming your Node.js application gets that information.
Otherwise: You can't, reliably. What you can do is make the link slightly different for each recipient (perhaps a code at the end in the query string), keeping track of which code you sent to which recipient, and then when they follow the link look at the code in the link they followed.
It's unreliable for at least a couple of reasons:
A user could remove the code
A user could share their link with other users, who then use it
Similarly, trying to use the user's IP address or MAC address only tells you...what the IP address or MAC address of the connection was, not who the user was.

Facebook app that automatically writes on fans wall, when some fan have birthday? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is it possible to create an facebook application for administrator of fanpage, that have functionalities for posting birthday greeting on their wall when particular fan or fans have a birthday?
Luckily, this is not possible, as it would be pure spam.
You would need to authorize every single User with the App, request the publish_actions and user_birthday permissions and store an Extended User Token (that is valid for 60 days). You will never get publish_actions approved by Facebook in their review process, because it´s not allowed to autopost. Also, the message must be 100% User generated according to the platform policy.
TL;DR:
Not possible
Not allowed

authenticating via facebook to update another database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am very new to web technologies. I don't even know what keywords to search with, so please bear with me.
I want to make a hybrid web app. The user visits the site and gets a login prompt to verify his/her identity via facebook.
When the use logs in correctly, they are allowed to query the database on my website. If the login fails, they cannot query my database.
I do not want any heavy duty SDKs or special purpose libraries. Is there a shortcut, lightweight implementation?
thank you for the help!
I see that you have tagged it as javascript, so i would suggest you t go through this official Facebook tutorial : https://developers.facebook.com/docs/facebook-login/login-flow-for-web/v2.2
Once the user is done with this, you just need to allow the user to query your database.
P.S. - For a more appropriate answer in regards to the later section, you need to put forward a more "to the point" question.

What would be the most appropriate way for a website to know that a form has already been submitted? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I can't explain what I want to do in the correct terminology but I'll give an example.
A website has on most pages a 'quick contact' form in a sidebar. Once the form is submitted on any given page that contains it, it fades and a confirmation message appears. How can I allow the website to identify that the form has already been submitted and then just display the confirmation message on all areas which would have contained it (throughout the whole site). Ideally, this would only occur for a limited period of set time (such as after 1 day or close of browser it resets and the form is present when that specific user access' the website again.
Honestly, I have no idea where to even start with this, but an important thing to note is that the form submission is just a 'dummy submission' and is not actually sending any data to the server (I know this is wrong but this task has the specific requirement of predominately client side access).
Edit: A cookie was what I was after.
You have several options to store flags in the client-side, like cookies and local storage to name a few. If this functionality is bound to a user account, you can also set a flag in the DB table or column that's related to that user.

Categories

Resources