Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Melody by Me and File Privacy Management
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
LINE Developers Thailand
October 16, 2021
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Melody by Me and File Privacy Management
LINE Developers Thailand
October 16, 2021
Transcript
33 slides
None
MELODY BY ME AND FILE PRIVACY MANAGEMENT
• LINE MELODY and Melody by Me • Files management
overview • File privacy with presigned url • Want to make it more secure? AGENDA
LINE MELODY
มี user กี ่ คนแ ล้ ว, 1505636 (22/07/21) 1.5M
LINE Melody Users
มี user กี ่ คนแ ล้ ว, 1505636 (22/07/21) 30K
LINE Melody Musics
None
MELODY BY ME
None
MELODY FILE MANAGEMENT OVERVIEW
File Types by Usage • Real File • Ringtone •
Ringback tone • Preview File
Cloud Service Platform
Verda Object Storage - VOS Bucket Object
Music Normal melody
Music ADMIN WEB MELODY WEB PREVIEW FOLDER REAL FILES FOLDER
RT/RBT SETTING SERVICE
Music PREVIEW FOLDER REAL FILE FOLDER Private Public
Music ADMIN WEB MELODY WEB PREVIEW FOLDER REAL FILES FOLDER
RT/RBT SETTING SERVICE
มี user กี ่ คนแ ล้ ว, 1505636 (22/07/21) Voice
Melody by me
Voice MELODY WEB PRIVATE FOLDER RT/RBT SETTING SERVICE MELODY WEB
FILES PRIVACY WITH PRESIGNED URL
มี user กี ่ คนแ ล้ ว, 1505636 (22/07/21) Presigned
url
Voice PRIVATE DIRECTORY MELODY WEB RT/RBT SETTING SERVICE Generate PRESIGNED
URL
import { S3 } from ‘aws-sdk’; const s3Con fi g
= { endpoint: ‘HOST’, accessKeyId: ‘ACCESS_KEY’, secretAccessKey: ‘SECRET_KEY’, }; const client = new S3(s3Con fi g); const params = { Bucket: ‘melody’, Key: ‘private/folder_name/ fi le_name.m4a’, }; const previewUrl = client.getSignedUrl(‘getObject’, params); Presigned URL Implementation
https://DOMAIN/private/folder_name/ fi le_name.m4a? AWSAccessKeyId=S3_ACCESS_KEY&Signature=sNTwfp %2BEcf8kq32K464%2Bee1bO8Q%3D Presigned URL Example
• AWSAccessKeyId=S3_ACCESS_KEY • Signature=sNTwfp%2BEcf8kq32K464%2Bee1bO8Q%3D Presigned URL Query String
WANT TO MAKE IT MORE SECURE ?
const params = { Bucket: ‘melody’, Key: ‘private/folder_name/ fi le_name.m4a’,
Expires: 60, // seconds }; const previewUrl = client.getSignedUrl(‘getObject’, params); Set Expires
https://DOMAIN/private/folder_name/ fi le_name.m4a? AWSAccessKeyId=S3_ACCESS_KEY&Expires=16308416 66&Signature=SL8XYVRoVLrB1xx2AaE28lQS18w%3D Set Expires
• AWSAccessKeyId=S3_ACCESS_KEY • Signature=SL8XYVRoVLrB1xx2AaE28lQS18w%3D • Expires=1630841666 Set Expires
Renew Keys Generate PRESIGNED URL NEW
import { S3 } from ‘aws-sdk’; const s3Con fi g
= { endpoint: ‘HOST’, accessKeyId: env.S3_ACCESS_KEY, secretAccessKey: env.S3_SECRET_KEY, }; const client = new S3(s3Con fi g); Rotate Keys
MELODY BY ME AND FILE PRIVACY MANAGEMENT
https://melody.line.me/ https://melody.line.me/voice-record
More Decks by LINE Developers Thailand
See All by LINE Developers Thailand
The Human Advantage: Outperform The Algorithm
linedevth
0
100
The Scale Saga: From Specs to 10x Engineering
linedevth
0
78
Turning Repos into the Product Second Brain with an LLM Wiki
linedevth
0
240
Beyond the Bottleneck: Infra for What's Next
linedevth
0
72
Harness & Loop Engineering: How We Let AI Agents Build Production Code Safely, Fast, and On Repeat
linedevth
0
160
Turning LINE Conversations into AI-Powered Workflows
linedevth
0
68
How to teach your AI Agent with Agent skills
linedevth
1
260
Reinventing Motor Insurance with AI Agent by AXA and ZWIZ.AI
linedevth
0
57
AI Infrastructure at Speed: Governance Without the Drag
linedevth
0
83
Other Decks in Technology
See All in Technology
2026-11-11 Tamachi.sre#7 PaCにインフラリソースの命を救われました。 / PaC saves the infra resource life
masasuzu
1
210
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
160
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
470
CloudTrail を推したい
kazzpapa3
1
140
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
470
WasmをRustにする技術
sansantech
PRO
1
120
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
210
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
170
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
210
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
4
880
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
1
530
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
390
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
450
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
490
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.7k
Un-Boring Meetings
codingconduct
0
500
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
310
We Are The Robots
honzajavorek
0
450
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Documentation Writing (for coders)
carmenintech
77
5.6k