IIS rewrite to compare Cookie Value against database list

HuwD

Can anyone tell me if it's possible to create a URL rewrite rule in IIS that will compare the value of a cookie against a list in a database (or another form of dynamically update-able list)? If so, how?

I can make it check for a specific cookie value or one that matches a pattern but I really need to compare it against a list of authorised IDs.

Is this possible?

Thanks

Peter Hahndorf

Out of the box, this is not possible.

What you could try is to write your own URL Rewrite custom provider, in it you may be able to access a database.

See Developing a custom rewrite provider for url rewrite module

It may be easier to include such logic in your own application.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

IIS rewrite how to intercept a set cookie value

From Dev

How to compare list of records against database in Java?

From Dev

Htaccess compare a cookie name with a value in the database

From Dev

Htaccess compare a cookie name with a value in the database

From Dev

How to compare List count against single integer value?

From Dev

How to compare List count against single integer value?

From Dev

.htacces rewrite by cookie value

From Dev

Compare value against parameters in Drools

From Dev

How to compare a value against an array

From Dev

Compare column value against list of regex values stored in another table and update accordingly

From Dev

Compare column value against list of regex values stored in another table and update accordingly

From Dev

Use RewriteMap against a cookie value with RewriteRule

From Dev

compare string against tuples in list of tuples - python

From Dev

Compare an element of a list against all other elements

From Dev

Writing Java predicate to compare a list against another

From Dev

How to compare an array against a list of arrays?

From Dev

compare string against tuples in list of tuples - python

From Dev

How to compare directory listing against csv list?

From Dev

Mod_Rewrite: default value if cookie is not set

From Dev

PHP rewrite cookie value without lifetime reset

From Dev

asp.net check cookie against database on each page request

From Dev

asp.net check cookie against database on each page request

From Dev

Compare each element of Scala list against rest of elements in the list

From Dev

Fastest way to compare list of lists against list of sets

From Dev

compare 8bit value against 16bit value

From Dev

How to compare a value from UITextField against a CoreData value

From Dev

Using istream::peek() to compare next value against current value

From Dev

How to compare a value from UITextField against a CoreData value

From Dev

How to compare part of string against large database in mysql

Related Related

  1. 1

    IIS rewrite how to intercept a set cookie value

  2. 2

    How to compare list of records against database in Java?

  3. 3

    Htaccess compare a cookie name with a value in the database

  4. 4

    Htaccess compare a cookie name with a value in the database

  5. 5

    How to compare List count against single integer value?

  6. 6

    How to compare List count against single integer value?

  7. 7

    .htacces rewrite by cookie value

  8. 8

    Compare value against parameters in Drools

  9. 9

    How to compare a value against an array

  10. 10

    Compare column value against list of regex values stored in another table and update accordingly

  11. 11

    Compare column value against list of regex values stored in another table and update accordingly

  12. 12

    Use RewriteMap against a cookie value with RewriteRule

  13. 13

    compare string against tuples in list of tuples - python

  14. 14

    Compare an element of a list against all other elements

  15. 15

    Writing Java predicate to compare a list against another

  16. 16

    How to compare an array against a list of arrays?

  17. 17

    compare string against tuples in list of tuples - python

  18. 18

    How to compare directory listing against csv list?

  19. 19

    Mod_Rewrite: default value if cookie is not set

  20. 20

    PHP rewrite cookie value without lifetime reset

  21. 21

    asp.net check cookie against database on each page request

  22. 22

    asp.net check cookie against database on each page request

  23. 23

    Compare each element of Scala list against rest of elements in the list

  24. 24

    Fastest way to compare list of lists against list of sets

  25. 25

    compare 8bit value against 16bit value

  26. 26

    How to compare a value from UITextField against a CoreData value

  27. 27

    Using istream::peek() to compare next value against current value

  28. 28

    How to compare a value from UITextField against a CoreData value

  29. 29

    How to compare part of string against large database in mysql

HotTag

Archive