Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Global password

Global password 5 years 9 months ago #57623

  • jcorreia
  • jcorreia's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi,
new to limesurvey and enjoying it. Nice program !

I´ve read wiki and token, but I couldn´t find a way to have a global password shared among users. The problem is I have a company with employees, and I want only this people to answer my survey. I will post the password in their Intranet.

Is this possible ?

I found a possible answer in wiki :

"Use general password for accessing a survey
If you don't want to use tokens but a general password to access a survey you can set your survey to "allow public access". Don't create a token table but use the following workaround:

1. Create a short text question first
2. Create the other questions
3. Use conditions on all the other questions. You can use regular expressions to validate the string entered at the short text question. Just validate a certain password. If the password is correct the following questions are shown.
4. Create a boilerplate question which just says "invalid password" which is shown if the user entered a wrong password.
"

But I think this is more like a workaround because other people can enter in the survey and read my welcome message, for instance.


Thanks !!
The administrator has disabled public write access.

Global password 5 years 9 months ago #57625

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
How about placing your LS installation in a password protected directory?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Global password 5 years 9 months ago #57647

  • jcorreia
  • jcorreia's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
It was a solution if I only wanted that company in particular to answer, but I need to place some anonymous surveys to public, so it´s no good.

A password protected directory also has a "user", and can frustrate people, which means...no answering.

Thanks
The administrator has disabled public write access.

Global password 5 years 9 months ago #57657

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9595
  • Thank you received: 1376
  • Karma: 390
You can see the workaround section to have some idea.

You can use specific question, LimeSurvey php code hacking, and sure some other possibility ( maybe a javascript solution in startpage )
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Global password 5 years 9 months ago #57679

  • jcorreia
  • jcorreia's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Ok, i can see this will only work with some workarounds or code change, not out of the box.

I think this would be a nice feature to be added to lime survey.
The administrator has disabled public write access.

Global password 5 years 9 months ago #57696

  • ftrifoglio
  • ftrifoglio's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 1
Add as first a short free text question.

Set it as mandatory and write the password in brackets -es. (12345)- in the validation field.

Don't show the welcome screen.
The administrator has disabled public write access.

Global password 5 years 1 month ago #67422

  • harshagile
  • harshagile's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
Hi jcorreia

I want to develop same logic as you describe.
I want to make my survey for few person and who has one password which i am sending so is there any way which can asking the password at a loading time of survey one time to check that accessible survey or not ?

Please give me your best answer.

Thanks
The administrator has disabled public write access.

Global password 5 years 1 month ago #67425

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
Please check the answers above, there are some solutions posted yet.

If that doesn't do the trick, the easiest solution would be to code your own script which is put before the survey (workflow-wise). That script can ask for a password and if everything is correct, it redirects the user to a predefined survey.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
Last Edit: 5 years 1 month ago by Mazi.
The administrator has disabled public write access.

Global password 5 years 1 month ago #67432

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1896
  • Thank you received: 469
  • Karma: 118
Hi,
have a look on the attached file...
It's the very simple (html+javascript) way I use to compose the final URL using the SURVEY ID as global password.
Obviously, your survey won't be listed on your LS installation homepage and 'll be protected against search engines spiders...

Ben
Attachments:
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The administrator has disabled public write access.

Global password 5 years 1 month ago #67436

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9595
  • Thank you received: 1376
  • Karma: 390
And now, with Uses left function on token you can have 10 000 000 access to a survey with the same token code.

Token is the global password.

And you can have 3/5/100 token like that ( for example to have answer by services etc ....).

LS is great !
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
Last Edit: 5 years 1 month ago by DenisChenu.
The administrator has disabled public write access.

Global password 5 years 1 month ago #67483

  • harshagile
  • harshagile's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
Hi Shnoule,

I have one question to you how can i generate the survey with password protection means starting of the survey it will be asking password to enter survey if password wrong then not going away.

Please let me know about positive answer.

Thanks
The administrator has disabled public write access.

Global password 5 years 1 month ago #67486

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
harshagile, as I have already posted: Please check the previous posts because there are several solution listed. You would havbe found this solution at the beginning of the thread:

"Use general password for accessing a survey
If you don't want to use tokens but a general password to access a survey you can set your survey to "allow public access". Don't create a token table but use the following workaround:

1. Create a short text question first
2. Create the other questions
3. Use conditions on all the other questions. You can use regular expressions to validate the string entered at the short text question. Just validate a certain password. If the password is correct the following questions are shown.
4. Create a boilerplate question which just says "invalid password" which is shown if the user entered a wrong password."

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.

Global password 5 years 1 month ago #67516

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9595
  • Thank you received: 1376
  • Karma: 390
And , as i have already posted, you can use token like a global password.

in token table : set Uses left to 100 000 000
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Global password 5 years 1 month ago #67555

  • harshagile
  • harshagile's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
Hi Mazi,
Thanks for your message.

But i am asking about without conditional question and tokens.
Is there any way where we can set some settings and based on that we can checking password option on starting of the survey.

Thanks
The administrator has disabled public write access.

Global password 5 years 1 month ago #67556

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
I don't know why using conditions isn't an option but in this case use the scenario which shnoulle described.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.
Time to create page: 0.424 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form