Survey Forums

HomeHomeSurvey Project ...Survey Project ...Using Survey & ...Using Survey & ...About IP Filter Setting No WorkAbout IP Filter Setting No Work
Previous
 
Next
New Post
2/9/2017 5:31 AM
 
I already set ip range at IP Filter page, but it's no work.

Out of ip range users still can fill.
Is there any setting should be set?
我已設定ip range,但不在IP範圍的用戶還可以填問卷。
是不是有哪裡沒有設定好?
 
New Post
3/5/2017 11:32 AM
 

Hello,

As reported on Github there is an issue with in SP 2.3 which causes the IP and Token filter not to work correctly:

https://github.com/surveyproject/surveyproject_main_public/issues/26

The issue is solved in SP 2.4 To fix it in SP 2.3 use the following DB update query:

USE [DBNAME]

SET IDENTITY_INSERT [dbo].[vts_tbWebSecurityAddIn] ON
INSERT [dbo].[vts_tbWebSecurityAddIn] ([WebSecurityAddInId], [Description], [BuiltIn], [TypeNameSpace], [TypeAssembly], [TypeMode]) VALUES (8, N'Token Protection', 1, N'Votations.NSurvey.Security.TokenSecurityAddIn', N'Votations.NSurvey.WebControls', 0)
INSERT [dbo].[vts_tbWebSecurityAddIn] ([WebSecurityAddInId], [Description], [BuiltIn], [TypeNameSpace], [TypeAssembly], [TypeMode]) VALUES (9, N'IP Filter', 1, N'Votations.NSurvey.Security.IPRangeSecurityAddIn', N'Votations.NSurvey.WebControls', 0)
SET IDENTITY_INSERT [dbo].[vts_tbWebSecurityAddIn] OFF


 
Previous
 
Next
HomeHomeSurvey Project ...Survey Project ...Using Survey & ...Using Survey & ...About IP Filter Setting No WorkAbout IP Filter Setting No Work