• Featured Articles
  • Tech How to Guides
  • Tech News
  • Forums
  • Homepage
  1. You are here:  
  2. Tech How to Guides
php logo

Add LDAP Login to PHP Webpage

Written by: Andrew Wellington
Category: Synology
Published: 15 November 2023
Last Updated: 07 July 2024
Hits: 2231
  • php
  • web development

So you have an LDAP server and you'd like to add authentication to a PHP based website. Well you have came to the right place! I started hosting my own mail server (Don't ask) and used LDAP for authentication so it made sense to create a website with LDAP and webmail/roundcube as well. I will go over step by step instructions on how to get this set up including code snippets. You will need to modify the code to fit your environment but my guide should get you most of the way there!

Read more …

No comments on “Add LDAP Login to PHP Webpage”
Powershell Command Window

Powershell SecretStore - Safely Use Credentials or API keys within Script

Written by: Andrew Wellington
Category: Powershell
Published: 15 November 2023
Last Updated: 07 July 2024
Hits: 1762
  • security
  • scripting

When using powershell for scripting, you may need to store credentials within the script. This is insecure especially when dealing with an API key. The preferred way to deal with this is using the powershell SecretStore module. I will go over how to install this module and configure it to allow you to store credentials within a script in an easy and secure way.

Read more …

No comments on “Powershell SecretStore - Safely Use Credentials or API keys within Script”
Robot entering powershell event on calendar

Schedule a PowerShell Script with SQL Server Agent

Written by: Andrew Wellington
Category: Powershell
Published: 15 November 2023
Last Updated: 07 July 2024
Hits: 979
  • scripting
  • sql server

There are many ways to schedule a PowerShell script to run within windows. The most common way is to use task scheduler however if your PowerShell script is invoking SQL commands, I find it is best to use the SQL server agent to schedule the job. This keeps all of your database based scripts in one place. This is very important when it comes time to upgrade or migrate the server. I will go over how to schedule the script in SQL Server 2016 as well as add email notifications and output to a text file.

Read more …

No comments on “Schedule a PowerShell Script with SQL Server Agent”
burglar holding a phone with cloudflare logo

Using Cloudflare for Synology DDNS and SSL

Written by: Andrew Wellington
Category: Synology
Published: 15 November 2023
Last Updated: 18 November 2024
Hits: 7540
  • web development
Cloudflare is not on the list of built in DDNS providers in Synology DSM 7. Don't fret though, you can add it manually by following this guide and using a script that is linked within. This allows your DNS record at Cloudflare to dynamically update with your IP address. For Certificates, we will use the great acme.sh (https://github.com/acmesh-official/acme.sh/wiki/Synology-NAS-Guide), script for SSL and certificate creation and renewals.
Read on for a full guide to configure DDNS and SSL on Synology DSM 

Read more …

2 comments on “Using Cloudflare for Synology DDNS and SSL”

Page 1 of 2

  • 1
  • 2

Guide Categories

  • Synology (3)
  • Azure (0)
  • Linux (2)
  • Powershell (3)

Most Popular Tags

email 4 web development 3 scripting 3 postfix 2 security 2
Copyright © 2025 TicTacTech.net. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.

  • Contact Us
  • Sitewide Search
  • Site Contributors
  • Sitemap