Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BoardConfiguration Settings

Ingo edited this page Sep 5, 2025 · 3 revisions

Board Configuration Settings

Here you find a list and description of all the settings in the BoardConfiguration section in the appsettings.json

Setting Type Default Description
AllowLoginAndLogoff boolean true Setting to turn on/off the ability to log in/off. This is usefully when you want the main application to handle the log-in/off process.
BoardID integer 1 the Current BoardID of the board that is used inside the application. You can create as many boards as you want, and they will function as separate forums (with separate users). (Host -> Boards to create new boards.)
CategoryID integer null/0 the Current CategoryID. If set the main page shows this as category, otherwise all categories will be shown.
UrlRewritingMode string Empty URLRewritingMode Key
Unicode - will replace url symbols with unicode characters
Translit - will replace unicode characters with ascii character
no entry - will replace non-ascii symbols with dashes
GDPRControllerAddress string null the email address on the privacy page in the GDPR section.
ConnectionProviderName string null the name DB provider...
Microsoft.Data.SqlClient - Use for SqlServer
Npgsql Data Provider - Use for PostgreSQL
System.Data.SQLite - Use for SQLite
MySql.Data.MySqlClient - Use for MySQL
DatabaseObjectQualifier string yaf_ the db table prefix. For advanced users who want to change the prefix for Yaf DB structure.
DatabaseOwner string dbo For advanced users who want to the change the default permissions for the YAF DB structure.
MultiBoardFolders boolean false Gets or sets a value indicating whether to force uploads, and images, themes etc. from a specific BoardID folder within wwwroot...
E.g. wwwroot/Boards/1/Uploads
SqlCommandTimeout integer 99999 the Option to Set the SQL Command Timeout.
In some cases is need to set it to Unlimited value="0"
LegacyMembershipHashAlgorithmType string Empty the legacy membership hash algorithm type.
NOTE: Legacy ASP.NET Membership Migration. This can be skipped on a New Install, only relevant if you upgrade from pre 3x
More info here: https://github.com/YAFNET/YAFNET/wiki/Upgrade-an-Existing-YAF.NET-Installation
LegacyMembershipHashCase string Empty the legacy membership hash case.
NOTE: Legacy ASP.NET Membership Migration. This can be skipped on a New Install, only relevant if you upgrade from pre 3x
More info here: https://github.com/YAFNET/YAFNET/wiki/Upgrade-an-Existing-YAF.NET-Installation
LegacyMembershipHashHex string Empty value indicating whether legacy membership hash hex.
NOTE: Legacy ASP.NET Membership Migration. This can be skipped on a New Install, only relevant if you upgrade from pre 3x
More info here: https://github.com/YAFNET/YAFNET/wiki/Upgrade-an-Existing-YAF.NET-Installation
UseHttpsRedirection boolean true This Setting if enabled actives the Http Redirection Middleware.
More info here: https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.builder.httpspolicybuilderextensions.usehttpsredirection
Area string empty This setting is needed if YAF.NET is embedded into another application. This sets the Areas folder name
More info here: https://github.com/YAFNET/YAFNET/wiki/YAF.NET-Integration-in-to-an-existing-ASP.NET-Core-Application
UseRateLimiter boolean true This setting if enabled actives the rate limiting services (Rate Limiter Middleware)
More info here: https://learn.microsoft.com/aspnet/core/performance/rate-limit
RateLimiterPermitLimit integer 10 When UseRateLimiter is used, then this sets the maximum number of permit counters that can be allowed in a window per ip address.
XFrameOptions string SAMEORIGIN X-Frame-Options tells the browser whether you want to allow your site to be framed or not.By preventing a browser from framing your site you can defend against attacks like clickjacking.
Recommended value "SAMEORIGIN".
XContentTypeOptions string nosniff X-Content-Type-Options stops a browser from trying to MIME-sniff the content type and forces it to stick with the declared content-type.
The only valid value for this header is "X-Content-Type-Options: nosniff".
ReferrerPolicy string no-referrer Referrer Policy is a new header that allows a site to control how much information the browser includes with navigations away from a document and should be set by all sites.
ContentSecurityPolicy string empty Content Security Policy is an effective measure to protect your site from XSS attacks. By whitelisting sources of approved content, you can prevent the browser from loading malicious assets.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.