# Privacy protecting level in DSLite

**URL:** <https://datashield.discourse.group/t/privacy-protecting-level-in-dslite/1074>\
**Category:** Support\
**Created:** [26 August 2024 20:37 UTC](https://datashield.discourse.group/t/privacy-protecting-level-in-dslite/1074 "2024-08-26T20:37:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bodilSbld](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bodilSbld](https://datashield.discourse.group/u/bodilSbld)\
**Post date:** [26 August 2024 20:37 UTC](https://datashield.discourse.group/t/privacy-protecting-level-in-dslite/1074/1 "2024-08-26T20:37:52Z")

</div>

I’m playing with DSLite and need some random numbers, therefore tried to use rUnif. However, the datashield.error message says that “The server is running in ‘non-permissive’ mode which has caused this method to be blocked.”

I have created the DSLite server using the default configuration

dslite.server ← newDSLiteServer(tables=list(cohortA = data.1, cohortB = data.2)) dslite.server$config(defaultDSConfiguration(include=c(“dsBase”, “dsSynthetic”)))

and I can tell by defaultDSConfiguration() that the privacy level is banana

$Options $Options$datashield.privacyLevel [1] “5”

$Options$default.datashield.privacyControlLevel [1] “"banana"”

Is there any way for me to change the $Options$default.datashield.privacyControlLevel to permissive when creating the DSLite server?

KR Bodil

---

<div class="post-metadata">

**Author:** ![yannick](https://yyz2.discourse-cdn.com/free1/user_avatar/datashield.discourse.group/yannick/32/19_2.png) [@yannick](https://datashield.discourse.group/u/yannick)\
**Post date:** [27 August 2024 06:44 UTC](https://datashield.discourse.group/t/privacy-protecting-level-in-dslite/1074/2 "2024-08-27T06:44:06Z")

</div>

Hi,

Yes, something like that:

```auto
dslite.server <- newDSLiteServer(tables=list(cohortA = data.1, cohortB = data.2))
config <- defaultDSConfiguration(include=c("dsBase", "dsSynthetic"))
config$Options$default.datashield.privacyControlLevel <- "foo"
dslite.server$config(config)

```

Regards Yannick

---

<div class="post-metadata">

**Author:** ![bodilSbld](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bodilSbld](https://datashield.discourse.group/u/bodilSbld)\
**Post date:** [27 August 2024 14:43 UTC](https://datashield.discourse.group/t/privacy-protecting-level-in-dslite/1074/3 "2024-08-27T14:43:02Z")

</div>

Perfect! Works fine, thank you!

/Bodil
