Title: How to ignore or block some features? · Issue #71 · beyond-code-github/LinqToQuerystring · GitHub
Open Graph Title: How to ignore or block some features? · Issue #71 · beyond-code-github/LinqToQuerystring
X Title: How to ignore or block some features? · Issue #71 · beyond-code-github/LinqToQuerystring
Description: Hi, Did anyone manage to block/ignore some operators to protect the API? For example to be able to do some of the ideas in this blog https://blogs.msdn.microsoft.com/webdev/2013/02/06/protect-your-queryable-api-with-the-validation-featur...
Open Graph Description: Hi, Did anyone manage to block/ignore some operators to protect the API? For example to be able to do some of the ideas in this blog https://blogs.msdn.microsoft.com/webdev/2013/02/06/protect-your-...
X Description: Hi, Did anyone manage to block/ignore some operators to protect the API? For example to be able to do some of the ideas in this blog https://blogs.msdn.microsoft.com/webdev/2013/02/06/protect-your-...
Opengraph URL: https://github.com/beyond-code-github/LinqToQuerystring/issues/71
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to ignore or block some features?","articleBody":"Hi,\r\n\r\nDid anyone manage to block/ignore some operators to protect the API?\r\n\r\nFor example to be able to do some of the ideas in this blog https://blogs.msdn.microsoft.com/webdev/2013/02/06/protect-your-queryable-api-with-the-validation-feature-in-asp-net-web-api-odata/\r\n\r\nBut it doesn't need to be very extensive.\r\n\r\nI want to only allow StartsWith function in $filter and ignore/block SubstringOf.\r\nOne other case would be to only allow user to do OrderBy on some properties. (Otherwise probably all properties should have index in the database)\r\n\r\nAny 'hacky' method is welcome, too!\r\n\r\nBy the way I've seen this very old issue #22 but it seems very old and forgotten. Maybe the new visitors see this issue better.\r\n\r\nThanks.","author":{"url":"https://github.com/ASADeveloper","@type":"Person","name":"ASADeveloper"},"datePublished":"2017-09-21T10:56:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/71/LinqToQuerystring/issues/71"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e7e2a0fa-c015-7b6c-f1e2-4552b30cf5d5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8762:AB4C6:4D8FF62:69E4A4B:69780AD2 |
| html-safe-nonce | 8de9de8dc049183c9c9adf5847a52b674799dcebf4f973f7370c612288ad827c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzYyOkFCNEM2OjREOEZGNjI6NjlFNEE0Qjo2OTc4MEFEMiIsInZpc2l0b3JfaWQiOiI2NTk4OTc3MjIyMjc2NTc0MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8d2da19bf5c6dc136036ccb67fa6c63b1e02f5fdd14893c0321c4378290ddcd8 |
| hovercard-subject-tag | issue:259456077 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/beyond-code-github/LinqToQuerystring/71/issue_layout |
| twitter:image | https://opengraph.githubassets.com/67925814c06ebeac51d4c6215cebe74e8c0c9d359deefd21689bfb152354c6be/beyond-code-github/LinqToQuerystring/issues/71 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/67925814c06ebeac51d4c6215cebe74e8c0c9d359deefd21689bfb152354c6be/beyond-code-github/LinqToQuerystring/issues/71 |
| og:image:alt | Hi, Did anyone manage to block/ignore some operators to protect the API? For example to be able to do some of the ideas in this blog https://blogs.msdn.microsoft.com/webdev/2013/02/06/protect-your-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ASADeveloper |
| hostname | github.com |
| expected-hostname | github.com |
| None | e71ed39771d00f42ce2fc9320895c8c608c164191e118eae487fc3bd0af6886d |
| turbo-cache-control | no-preview |
| go-import | github.com/beyond-code-github/LinqToQuerystring git https://github.com/beyond-code-github/LinqToQuerystring.git |
| octolytics-dimension-user_id | 795965 |
| octolytics-dimension-user_login | beyond-code-github |
| octolytics-dimension-repository_id | 9010972 |
| octolytics-dimension-repository_nwo | beyond-code-github/LinqToQuerystring |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9010972 |
| octolytics-dimension-repository_network_root_nwo | beyond-code-github/LinqToQuerystring |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4919f24054c1e9bf76d7b543cb2ac018075b18ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width