Provide Configuration ability to set secure cookies #7455

Closed
opened 2025-12-29 20:23:38 +01:00 by adam · 1 comment
Owner

Originally created by @k3x on GitHub (Jan 4, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.3.10

Feature type

New functionality

Proposed functionality

Provide the ability to set the following django config elements by netbox configuration.py:
SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True

Use case

More secure configuration. Company policy requires this

Database changes

none

External dependencies

none

Originally created by @k3x on GitHub (Jan 4, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.3.10 ### Feature type New functionality ### Proposed functionality Provide the ability to set the following django config elements by netbox configuration.py: SECURE_SSL_REDIRECT = True SESSION_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True ### Use case More secure configuration. Company policy requires this ### Database changes none ### External dependencies none
adam added the status: acceptedtype: feature labels 2025-12-29 20:23:38 +01:00
adam closed this issue 2025-12-29 20:23:38 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Apr 6, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Apr 6, 2023): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7455